#include "serverippage.h"
#include "ui_serverippage.h"

ServerIpPage::ServerIpPage(QWidget *parent) :
    QWizardPage(parent),
    ui(new Ui::ServerIpPage)
{
    ui->setupUi(this);
	setupFileds();
}

void ServerIpPage::setupFileds()
{
	registerField("ServerIp*", ui->m_ServerIpEdit);
}

ServerIpPage::~ServerIpPage()
{
    delete ui;
}

void ServerIpPage::changeEvent(QEvent *e)
{
    QWizardPage::changeEvent(e);
    switch (e->type()) {
    case QEvent::LanguageChange:
        ui->retranslateUi(this);
        break;
    default:
        break;
    }
}
